Platform Explorer / Nuxeo Platform 2021.24

Component org.nuxeo.drive.service.FileSystemItemManager

Documentation

This service provides an API to manage usual file system operations on a FileSystemItem given its id. It allows the following actions: - check if an item exists - get an item - get a folder's children - create a folder - create a file - update a file - delete an item - rename an item - move an item - copy an item

It is used by Nuxeo Drive to synchronize a client device with the server.

Resolution Order

172
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

66
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.drive.service.impl.FileSystemItemManagerImpl

Services

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.drive.service.FileSystemItemManager"
  version="1.0">

  <documentation>
    @author Antoine Taillefer(ataillefer@nuxeo.com)

    This service provides an API to manage usual file system operations
    on a FileSystemItem given its id.
    It allows the following actions:
    - check if an item exists
    - get an item
    - get a folder's children
    - create a folder
    - create a file
    - update a file
    - delete an item
    - rename an item
    - move an item
    - copy an item

    It is used by Nuxeo Drive to synchronize a client device with the server.
  </documentation>

  <service>
    <provide interface="org.nuxeo.drive.service.FileSystemItemManager" />
  </service>

  <implementation
    class="org.nuxeo.drive.service.impl.FileSystemItemManagerImpl" />

</component>